package net.maku.biz.convert;

import net.maku.biz.entity.BizMailboxEntity;
import net.maku.biz.vo.BizMailboxVO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
* 主席信箱
*
* @author 阿沐 babamu@126.com
* @since 1.0.0 2025-03-29
*/
@Mapper
public interface BizMailboxConvert {
    BizMailboxConvert INSTANCE = Mappers.getMapper(BizMailboxConvert.class);

    BizMailboxEntity convert(BizMailboxVO vo);

    BizMailboxVO convert(BizMailboxEntity entity);

    List<BizMailboxVO> convertList(List<BizMailboxEntity> list);

}